package wen.recommend.dao;

import java.util.List;

import wen.recommend.beans.Books;
import wen.recommend.util.BeanListHandler;

/*
文章的业务处理类
*/


public class BookDao extends BaseDao {
	
	//获取所有的推荐信息
		public List<Books> findRecommendations() {
			String sql = "select * from books_tb";
			List<Books> recommendations = (List<Books>) find(sql, null
					, new BeanListHandler(Books.class));
			return recommendations;
		}


}
